#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>

#include "dominion.h"
#include "dominion_helpers.h"
#include "rngs.h"

#define DEBUG 0
#define NOISY_TEST 1


int main(){

    int i;
    int j;
    int currentPlayer;

    struct gameState g;

    printf ("Testing _______ Card Effect.\n");

    for (j = 0; j < 100; j++) {
        for (i = 0; i < sizeof(struct gameState); i++) {
            ((char*)&g)[i] = floor(Random() * 256);
        }

    g.whoseTurn = floor(Random() *MAX_PLAYERS);
    currentPlayer = g.whoseTurn;
    g.deckCount[currentPlayer] = floor(Random() * MAX_DECK);
    g.discardCount[currentPlayer] = floor(Random() * MAX_DECK);
    g.handCount[currentPlayer] = floor(Random() * MAX_HAND);
    g.playedCardCount = floor(Random() * MAX_DECK);

    //checkGreat_hallEffect(currentPlayer, great_hall, &g);

    }

    printf ("_____ card OK\n");

    return 0;
}
